repo: Ignore importing existing variants
authorColin Walters <walters@verbum.org>
Sat, 15 Oct 2011 02:07:58 +0000 (22:07 -0400)
committerColin Walters <walters@verbum.org>
Sat, 15 Oct 2011 02:07:58 +0000 (22:07 -0400)
It's not an error to duplicate a tree.

src/libhacktree/hacktree-repo.c

index 908ed57ce5c3d39a643a734dbca306d8840743a7..d0afb3f17bc0064b4aca77afe3ae075d3d48cb1e 100644 (file)
@@ -258,7 +258,7 @@ import_gvariant_object (HacktreeRepo  *self,
                               NULL, error))
     goto out;
 
-  if (!link_one_file (self, tmp_name, FALSE, FALSE, out_checksum, error))
+  if (!link_one_file (self, tmp_name, TRUE, FALSE, out_checksum, error))
     goto out;
   
   ret = TRUE;